﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Skyhook.Core.Configuration
{
    interface IDataCollection<out T> where T : Data, new()
    {
        void Add(Data data);
        void Remove(Data data);

        IEnumerable<T> Values
        {
            get;
        }

        T this[string type]
        {
            get;
        }

        void Clear();
    }
}
